package com.career.syn;

import java.io.Serializable;

/**
 * @author jasongu
 * @Description: 参数
 * @ClassName: SynConfig
 * @date 2019/6/19 14:11
 */
public class SynConfig implements Serializable {

    private static final long serialVersionUID = 2269168793915548669L;

    /**
     * 请求地址  192.xxx.xxx.xx:8080
     */
    private String requestUrl;

    /**
     * 文件路径
     */
    private String path;

    /**
     * 是否有接口地址 false:requestUrl需要为完整请求地址  true:requestUrl为Ip:port
     */
    private Boolean haveUri;

    /**
     * 信号量大小
     */
    private int permits;

    /**
     * 线程数量
     */
    private int nThreads;

    public String getRequestUrl() {
        return requestUrl;
    }

    public void setRequestUrl(String requestUrl) {
        this.requestUrl = requestUrl;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public int getPermits() {
        return permits;
    }

    public void setPermits(int permits) {
        this.permits = permits;
    }

    public int getnThreads() {
        return nThreads;
    }

    public void setnThreads(int nThreads) {
        this.nThreads = nThreads;
    }

    public Boolean getHaveUri() {
        return haveUri;
    }

    public void setHaveUri(Boolean haveUri) {
        this.haveUri = haveUri;
    }
}
